#include "stdafx.h"
#include <iostream>

using namespace std;
class Date{
private:
	int year;
	int month;
	int day;
public:
	Date(int year=2014,int month=1,int day=1):
		year(year),month(month),day(day){
		
	}
};

int main_getvalue(){
	Date date(2014,10,1);
	int *pm = reinterpret_cast<int*>(&date);
	cout << *(pm+1) <<endl;
	return 0;
}